package com.bookcity.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Date;

/**
 * DetailBook
 *
 * @Author : lostprobe
 * @Date : 2022/5/27 17:36
 * @Brief : DetailBook
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DetailBook {

    @JSONField(name = "bid")
    private String bid;

    private String ISBN;

    private int type;

    private int zone;

    private int other;

    @JSONField(name = "bname")
    private String bookname;    //  书名

    private String author;      //  作者

    private String press;       //  出版社

    private Date pubdate;       //  出版日期

    @JSONField(name = "brief")
    private String intro;     //  简介

    private int stock;     //   库存

    @JSONField(name = "price")
    private BigDecimal sell;    //  售价
}
